
set(EXECUTABLE_OUTPUT_PATH ../bin/${CMAKE_BUILD_TYPE})

#Inclusion de la bibliothèque Hello
include_directories(../include)
link_directories(../lib/${CMAKE_BUILD_TYPE})

#Configuration de l'exécutable
file(
	GLOB_RECURSE
	source_files
	src/*
)
add_executable(
	tp2
  part1.cpp
#	${source_files}
)

#Configuration de l'édition de liens
target_link_libraries(
	tp2
    ${THELIBS}
)

#target_link_libraries (laplacian Laplacian ${THELIBS})

add_executable(	tp2b part2.cpp )
target_link_libraries(tp2b ${THELIBS} )

add_executable(	tp2c part3.cpp )
target_link_libraries(tp2c ${THELIBS} )

add_executable(	tp2d code1d.cpp )
target_link_libraries(tp2d ${THELIBS} )

